package org.freedoit.client;

//import java.util.List;
//
////import org.freedoit.shared.om.Task;

import java.util.List;

import org.freedoit.shared.data.SharedTask;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("dotask")
public interface TaskService extends RemoteService {
	public Long addTask(SharedTask task);
	public Long updateTask(SharedTask task);
	public Long deleteTask(Long taskId);
	public Long finishTask(Long taskId);
	public Long unfinishTask(Long taskId);
	public List<SharedTask> asyncTaskList(Long timestamp);
}
